package com.example.springioc.DI;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller
public class UserSet {
    private UserServiceDI userServiceDI;

    @Autowired
    public void setUserServiceDI(UserServiceDI userServiceDI) {
        this.userServiceDI = userServiceDI;
    }
    public void start(){
        userServiceDI.start();
    }
}
